package io.github.topcatv.mall;

import io.github.topcatv.mall.model.sys.service.IUserService;
import org.mockito.Mockito;
import org.springframework.boot.test.context.TestComponent;
import org.springframework.context.annotation.Bean;

@TestComponent
public class MockedOuterBeanFactory {
    @Bean
    public IUserService userService() {
        return Mockito.mock(IUserService.class);
    }
}  